GcBitmap Constructor(Byte[],Int32,Nullable<Rectangle>,Boolean)
In This Topic
Initializes a new instance of the
GcBitmap class.
Syntax
'Declaration
Public Function New( _
ByVal () As System.Byte, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Nullable(Of Rectangle), _
Optional ByVal As System.Boolean _
)
public GcBitmap(
System.byte[] ,
System.int ,
System.Nullable<Rectangle> ,
System.bool
)
Parameters
- bytes
- The image data. JPEG, PNG, WEBP, GIF, BMP, TIFF, ICO, JPEG 2000 formats are supported.
- frameIndex
- Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
- imageRect
- Clipping rectangle of the image to be loaded.
- storeInTempFile
- Indicates whether pixel data should be dynamically mapped to a temporary file rather than kept fully in memory.
See Also